package com.st.springbootsse.service;

/**
 * @author zhangli
 */
public interface IndexService {
    /**
     * 发送消息
     * @param uid
     */
    void sendMessage(String uid);

    /**
     *  关闭sse连接
     * @param uid
     */
    void closeSse(String uid);
}
